/*IFF2qF5tCKV+zXK66nQlNJQL5nzzSVRHAov+Yyf+ZSZlHkApu215Cr7DEUUMv6cx*/
import { URL, STATUS, PAGECODE, FIELD } from '../../constance';

export default function doubleRowClick(pageModel, record) {
	const { pageTo, updatePageStatus } = pageModel;
	const pk_order = record[FIELD.pk].value;
	const pagecode = PAGECODE.cardCode,
		appcode = pageTo.getPageContext("appcode");
	updatePageStatus(STATUS.browse);
	pageTo.pushTo(URL.gotoCard, { pagecode, appcode, id: pk_order });

}

/*IFF2qF5tCKV+zXK66nQlNJQL5nzzSVRHAov+Yyf+ZSZlHkApu215Cr7DEUUMv6cx*/